// 分页默认每页展示条数--暂未用到
const DEFAULT_PAGE_SIZE = 10

// 后台base_url
const BASE_URL = 'http://localhost:8888/ssm/'

// 区域级别
const AREA_LEVELS = [
    {
        name: '省级',
        level: 0
    },
    {
        name: '市级',
        level: 1
    },
    {
        name: '县级',
        level: 2
    },
    {
        name: '乡镇级',
        level: 3
    },
    {
        name: '村级',
        level: 4
    }
]

// 菜单类型
const MENU_TYPE = [
    {
        type: "NONE",
        label: "中间节点"
    },
    {
        type: "LINK",
        label: "叶子节点"
    }
]

// 菜单层级（因为菜单是用整数表示的， 规则是父级菜单id*100+n=子级菜单id， 正整数最大为 2,147,483,647 <4级>）
const MENU_LEVEL = [
    {
        level: 1,
        label: "1级菜单"
    },
    {
        level: 2,
        label: "2级菜单"
    },
    {
        level: 3,
        label: "3级菜单"
    },
    {
        level: 4,
        label: "4级菜单"
    }
]

export default {
    DEFAULT_PAGE_SIZE, BASE_URL, AREA_LEVELS, MENU_TYPE, MENU_LEVEL
}